home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 398 / 398.xpi / chrome / forecastfox.jar / content / options / search.xul < prev   
Extensible Markup Language  |  2010-02-04  |  3KB  |  61 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--****************************************************************************
  4.   Copyright (c) 2008 Ensolis, LLC. All Rights Reserved.
  5.   ***************************************************************************-->
  6. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  7. <?xml-stylesheet href="chrome://forecastfox/content/bindings.css" type="text/css"?>
  8. <?xml-stylesheet href="chrome://forecastfox/skin/forecastfox.css" type="text/css"?> 
  9.  
  10. <!DOCTYPE window SYSTEM "chrome://forecastfox/locale/forecastfox.dtd">
  11.  
  12. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         id="ff-search"
  14.         windowtype="forecastfox:search"
  15.         persist="screenX, screenY"   
  16.         onload="searchLoad(); sizeToContent();"
  17.         onunload="searchUnload();"    
  18.         title="&ff.search.title;">
  19.  
  20.   <script type="application/x-javascript" src="chrome://forecastfox/content/utilities/helpers.js"/>
  21.   <script type="application/x-javascript" src="chrome://forecastfox/content/options/search.js"/>
  22.  
  23.   <stringbundleset>
  24.     <stringbundle id="ff-bundle-search" src="chrome://forecastfox/locale/forecastfox.properties"/>
  25.   </stringbundleset>
  26.  
  27.   <keyset id="ff-keys">
  28.     <key keycode="VK_ESCAPE" oncommand="window.close();"/>
  29.   </keyset>
  30.  
  31.   <ffheader title="&ff.search.description;"/>
  32.  
  33.   <vbox id="ff-search-content" class="ff-content" flex="1">
  34.     <hbox align="center" pack="end">
  35.       <textbox id="ff-text-search" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) gSearch.run();" onfocus="this.select()" flex="1"/>
  36.       <button id="ff-btn-search" class="ff-button" label="&ff.search.label;" oncommand="gSearch.run();"/>
  37.     </hbox>
  38.     <separator class="thin"/>                   
  39.     <tree enableColumnDrag="true" id="ff-tree-results" rows="7" flex="1">
  40.       <treecols id="ff-tree-columns">
  41.         <treecol id="ff-col-city" label="&ff.search.column.city;" flex="4" primary="true" persist="hidden width ordinal" onclick="if (event.button == 0) gSearch.setSort('city');"/>
  42.         <splitter class="tree-splitter"/>
  43.         <treecol id="ff-col-state" label="&ff.search.column.state;" flex="2" persist="hidden width ordinal" onclick="if (event.button == 0) gSearch.setSort('state');"/>
  44.         <splitter class="tree-splitter"/>
  45.         <treecol id="ff-col-id" label="&ff.search.column.id;" flex="1" hidden="true" persist="hidden width ordinal" onclick="if (event.button == 0) gSearch.setSort('id');"/>
  46.       </treecols>
  47.       <treechildren id="ff-items-results" ondblclick="gSearch.accept(false);" flex="1"/>
  48.     </tree>
  49.   </vbox>
  50.  
  51.   <hbox id="ff-search-footer" class="ff-footer" align="center">
  52.     <label value="&ff.providedby;"/>
  53.     <fflink label="&acw.site;" tooltiptext="&acw.tooltip;" href="&acw.main;" partner="true" from="dialog"/>
  54.     <spacer class="ff-btnspacer" flex="1"/>
  55.     <button label="&ff.ok;" class="ff-button" default="true" oncommand="gSearch.accept(true);"/>
  56.     <button label="&ff.cancel;" class="ff-button" oncommand="window.close();"/>
  57.   </hbox>
  58. </window>
  59.  
  60.  
  61.